package com.aspose.cells;

import java.util.ArrayList;
import java.util.Collection;

class zbcc {
   private Object b;
   private zbcd c;
   private zalk d;
   ArrayList a;
   private zcc e;

   zbcc(Object var1) {
      this.b = var1;
   }

   zbcd a() {
      if (this.c == null) {
         this.c = new zbcd();
      }

      return this.c;
   }

   zalk b() {
      if (this.d == null) {
         this.d = new zalk();
      }

      return this.d;
   }

   zcc c() {
      return this.e;
   }

   zcc d() {
      if (this.e == null) {
         this.e = new zcc();
      }

      return this.e;
   }

   void a(zbcc var1) {
      if (var1.e != null) {
         this.e = new zcc();
         this.d().a(var1.e);
      }

      if (var1.d != null) {
         this.d = new zalk();
         this.d.a(var1.d);
      }

      if (var1.c != null) {
         this.c = new zbcd();
         this.c.a(var1.c);
      }

      if (var1.a != null) {
         this.a = new ArrayList();
         com.aspose.cells.b.a.a.ze.a(this.a, (Collection)var1.a);
      }

   }

   boolean b(zbcc var1) {
      if (this.e != null || var1.e != null) {
         if (this.e == null || var1.e == null) {
            return false;
         }

         if (!this.e.b(var1.e)) {
            return false;
         }
      }

      if (this.d != null || var1.d != null) {
         if (this.d == null || var1.d == null) {
            return false;
         }

         if (!this.d.b(var1.d)) {
            return false;
         }
      }

      if (this.c != null || var1.c != null) {
         if (this.c == null || var1.c == null) {
            return false;
         }

         if (!this.c.b(var1.c)) {
            return false;
         }
      }

      if (this.a != null || var1.a != null) {
         if (this.a == null || var1.a == null) {
            return false;
         }

         if (this.a.size() != var1.a.size()) {
            return false;
         }
      }

      return true;
   }
}
